package cn.shentianlan.service;

import cn.shentianlan.criteria.UserCriteria;
import cn.shentianlan.domain.dto.UserDTO;
import cn.shentianlan.utils.Result;

/**
 * @Author 陈俊源
 * @Description TODO
 * @Date 2021/4/10
 * @Version 1.0
 */
public interface UserService {

    Result getUserById(Long id);

    Result saveOrUpdate(UserDTO userDTO);

    Result findUserByCriteria(UserCriteria criteria);

    Result login(UserDTO userDTO);

    Result deleteUserById(Long id);

    String getFullName(Long id);
}
